home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILREEN / STARPRNT.LZH / NU-EPSON.DOC < prev    next >
Text File  |  1985-12-14  |  24KB  |  594 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                       NU-EPSON
  25.  
  26.                             The Pop-Up Printer Controller
  27.  
  28.                                      Version 2.3
  29.  
  30.                                  Copyright (C) 1985
  31.  
  32.                                          By
  33.  
  34.                                     Charles Rich
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.                                       NU-EPSON
  51.                             The Pop-Up Printer Controller
  52.  
  53.  
  54.           NU-EPSON is a memory resident printer controller that pop's up
  55.           for you any time you need to set your printer.  With NU-EPSON
  56.           you can change your printer's style and format instantly.  You'll
  57.           never need to exit to DOS to change your printer again.  You can
  58.           stay inside your word processor, editor or whatever.
  59.  
  60.           To load NU-EPSON, put your program disk in your default drive,
  61.           type NU-EPSON and then press carriage return.  When the brief
  62.           installation message comes up, NU-EPSON is loaded.  After that
  63.           you can call NU-EPSON any time by pressing Alt-Caps Lock.
  64.           Just hold the Alt key down and press Caps Lock.
  65.  
  66.           When summoned, NU-EPSON pop's up with a menu of printer styles
  67.           and motion controls.  The styles are on the left side of the
  68.           menu.  The motion controls are on the right.  The styles are
  69.           Compressed, Double-strike, Emphasized, Italic, Tiny, and Wide.
  70.           The motion controls are: Form feed, Line feed, Quiet, and
  71.           Uni-directional.  NU-EPSON also offers Hex Input mode and a Reset
  72.           feature.  On a color monitor the styles are displayed in
  73.           cyan, and the motion controls are white. This is a visual
  74.           reminder.
  75.  
  76.           NU-EPSON is ready for your selections as soon as it comes up.
  77.           Just type the letters corresponding to the combination of
  78.           features you want.  Press the backspace key to delete any entries.
  79.           Submit your selections when everything is just right, by
  80.           pressing the carriage return.  NU-EPSON will disappear, sending
  81.           your commands to the printer.
  82.  
  83.           You can enter up to eight selections on the regular entry line.
  84.           Although you'll probably never need to send that many.  If you
  85.           try to enter more than eight selections NU-EPSON will beep to
  86.           alert you.  If you really want to send more than eight commands,
  87.           just submit the first eight and call NU-EPSON a second time and
  88.           submit the remaining commands.  You can repeat this as often as
  89.           you need.
  90.  
  91.           If you call NU-EPSON while your printer is turned off, or is off
  92.           line, you will get a flashing "Printer" message.  Just turn your
  93.           printer on, or put it back on line and NU-EPSON will continue.
  94.           Press the carriage return if you want to exit instead.
  95.  
  96.           The next few pages cover all the features of NU-EPSON in detail.
  97.           If you have any questions or comments please let me know about
  98.           them.  My address is at the end of this documentation.  If you'd
  99.           like a reply, please enclose a self-addressed stamped envelope.
  100.  
  101.           Enjoy!  Charles Rich.
  102.  
  103.                                       NU-EPSON
  104.                                        Page 1
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.           NU-EPSON'S PRINT STYLES
  112.  
  113.  
  114.           The following is a detailed description of NU-EPSON's print
  115.           styles.  The best way to get familiar with them is to experiment.
  116.           They can be combined almost any way you'd like, and many combina-
  117.           tions are quite useful.
  118.  
  119.           C  Compressed Mode
  120.                This is easily the most popular print width after the
  121.                standard pica.  You get 132 characters per line with Com-
  122.                pressed Mode instead of 80.  This is great for any reports
  123.                and spreadsheets that need extra width yet must retain high
  124.                legibility.  Your printer will print 17.16 characters per
  125.                inch instead of the usual 10.
  126.  
  127.           D  Double-Strike Mode
  128.                This print mode gives you darker type by filling in the
  129.                vertical spaces between dots.  Your printer reprints each
  130.                line after shifting the paper down 1/216". 
  131.  
  132.           E  Emphasized Mode
  133.                This mode reprints each line after shifting the print head
  134.                slightly, filling in the horizontal space between dots.  This
  135.                is darker than Double-Strike, and the two modes used to-
  136.                gether make a very dark, solid type style.  Note that the
  137.                Epson printer won't print Emphasized and Compressed Modes
  138.                together, it will ignore the Compressed Mode setting.
  139.  
  140.           I  Italic Mode
  141.                Use Italic Mode when you want your printing to look a little
  142.                fancier.  You can mix Italic Mode with any other mode such as
  143.                Compressed, Wide, Tiny or any combination.
  144.  
  145.           T  Tiny Type
  146.                This is a combination of Compressed and Superscript modes,
  147.                with 1/12" line feeds.  This is the tiniest print you can get
  148.                from the Epson, and it's still really legible.  This is great
  149.                for long program listings, archiving or novelty effects.
  150.                You'll find other uses--it grows on you.
  151.  
  152.           W  Wide or Expanded Mode
  153.                This doubles the width of your type.  When combined with
  154.                Double Strike and Emphasized modes, this is the most atten-
  155.                tion getting style.  This is a good combination when printing
  156.                bulletin board notices and announcements.  You can also mix
  157.                Wide Mode with any other mode for some interesting type
  158.                styles.
  159.  
  160.  
  161.                          ---- END OF NU-EPSON'S PRINT STYLES ----
  162.  
  163.  
  164.                                       NU-EPSON
  165.                                        Page 2
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.           NU-EPSON'S MOTION CONTROLS
  173.  
  174.  
  175.           F  Form Feed
  176.                This is an instant action key for Nu-Epson.  Pressing "F"
  177.                sends a form feed to your printer, advancing the paper to the
  178.                top of the next page.  This lets you begin print jobs at the
  179.                top of a fresh sheet of paper.  It spares you from reaching
  180.                over, taking your printer off-line, pressing the form feed
  181.                button and then putting it back on line.  This doesn't echo
  182.                an "F" on the entry line, and you can issue it as many times
  183.                as you like.  It won't fill the entry buffer.
  184.  
  185.           L  Line Feed
  186.                This is another instant action key for Nu-Epson.  When
  187.                you press "L", Nu-Epson sends a line feed to your printer,
  188.                advancing the paper one line.  This lets you skip lines
  189.                instantly.  This too, won't echo an "L" on the entry line,
  190.                and you can issue it as many times as you like.  It won't
  191.                fill the entry buffer.
  192.  
  193.           Q  Quiet or Half-Speed Mode
  194.                This runs your Epson printer at half its normal speed for a
  195.                slightly quieter print job.
  196.  
  197.           U  Unidirectional Mode
  198.                This makes your Epson print in one direction only.  This is
  199.                good for graphics output in non-standard print modes since it
  200.                reduces misalignment from row to row.
  201.  
  202.           H  Hex Input Mode
  203.                This gives you the "Hex:" prompt so you can send customized
  204.                control strings with your menu choices.  When you're through
  205.                with Hex Input, hit the carriage return to come back to the
  206.                regular entry line.  You'll see an "H" in the command
  207.                line as a reminder of your Hex string, if you entered one.
  208.                Your Hex string will then be sent along with your menu
  209.                choices.  Hex Input is discussed more fully below.
  210.  
  211.           R  Reset
  212.                This sends the "Master Reset" code to your Epson.  After
  213.                that, your printer is in the same state as when it's first
  214.                turned on.  This means that all the mode settings are
  215.                cleared and the current line position is the new top of form.
  216.                When used with the line feed key, this is an easy way for
  217.                setting the top of form.  Just advance to where you want
  218.                the new top of form to be and press Reset.  NU-EPSON will
  219.                chirp and flash "Reset" to alert you, when pressed.  Reset
  220.                also clears the command entry line.
  221.  
  222.                         ---- END OF NU-EPSON'S MOTION CONTROLS ----
  223.  
  224.  
  225.                                       NU-EPSON
  226.                                        Page 3
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.           NU-EPSON'S HEX INPUT MODE
  234.  
  235.  
  236.           In the back of your Epson User's Manual you'll find a complete set
  237.           of control codes for your printer.  There are commands for
  238.           setting your printer's margins, underlining, changing character
  239.           sets, defining form lengths, line feeds and so on.  These are all
  240.           the possible ways you can set your printer.  With Hex Input Mode,
  241.           NU-EPSON lets you send all of these, easily.
  242.  
  243.           Press "H" to invoke the Hex Input Mode.  The "Hex:" prompt will
  244.           appear and you can create your hex string by simply typing it from
  245.           the keyboard.  
  246.  
  247.           As an example, let's turn on underlining.  You can make your
  248.           printer print underlines by sending it this sequence: <ESC>"-1". 
  249.           So, in Hex Input mode press the escape key, then the negative
  250.           sign, then the number 1.  NU-EPSON will convert them to hex for
  251.           you.  You'll see these hex values echoed on the Hex Input line
  252.           as: 1B 2D 31.  Press the carriage return and you'll go back to the
  253.           usual input line.  The "H" in the entry line reminds you that you
  254.           have defined a hex string at that point.  Press the carriage
  255.           return again and NU-EPSON will disappear, submitting your commands
  256.           to the printer.  That's all there is to it.  No more fooling
  257.           around with hex conversion tables and firing up the BASIC inter-
  258.           preter every time you want to change your printer.
  259.  
  260.           The Hex Input Mode will let you send up to nine hex characters to
  261.           your printer.  If you try to send more than nine characters,
  262.           NU-EPSON will beep to alert you.  Since most control codes are
  263.           about three characters long this lets you send two or three
  264.           configurations at once.
  265.  
  266.           For example, you could set the left and right margins, and
  267.           redefine the number of lines in a page with just one hex input
  268.           string.  We'll do this later.  If you need to send a longer
  269.           sequence simply call NU-EPSON again and submit the rest of the
  270.           sequence.  You can repeat this as many times as you need to.
  271.  
  272.           If you make mistakes in your hex entry, press the backspace key
  273.           to correct them.  This will step the cursor backwards, clearing
  274.           entries one by one.
  275.  
  276.           Press the carriage return when you're happy with your hex input
  277.           string.  This returns you to the regular entry line where you
  278.           can continue setting your printer from the menu if you want.  If
  279.           you created a hex string in Hex Input mode you'll see an "H" on
  280.           the regular entry line where you called Hex Input.  This is
  281.           to remind you of your Hex input string.  If you didn't enter
  282.           anything in Hex Input mode, there won't be an "H" in the regular
  283.           command line.  Since NU-EPSON holds only one line of hex input,
  284.  
  285.  
  286.                                       NU-EPSON
  287.                                        Page 4
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.           you can only create one hex string at a time.  This means you can
  295.           only have one "H" on your command entry line.
  296.  
  297.           If you try to get into Hex Input Mode twice from the regular
  298.           command line NU-EPSON will beep, alerting you that you have
  299.           already created a hex input line.
  300.  
  301.           If you want to get into Hex Input Mode anyway, just delete the "H"
  302.           from the previous hex input.  NU-EPSON will then let you enter hex
  303.           commands again.
  304.  
  305.           If you need to submit a hex string that's too long for one entry
  306.           line, simply send it piece by piece.  Enter the first nine hex
  307.           characters and send them.  Then call NU-EPSON again and send
  308.           another nine characters.  You can repeat this as many times as you
  309.           like.
  310.  
  311.  
  312.           USING THE ALT-KEYPAD
  313.  
  314.           Some of the Epson printer commands need you to give a number for
  315.           a parameter.  For instance, you need to give a number when setting
  316.           margins, or the number of lines to print per page, or for the
  317.           number of line feeds per form, and for character spacings, etc.
  318.           The control codes in the back of the User's Manual ask for these
  319.           numbers like this: CHR$(n), with "n" being the number you want.
  320.           The Alt-Keypad lets you send these numbers to NU-EPSON.  Whenever
  321.           a control code says CHR$(n), you'll use the Alt-Keypad to send
  322.           that number.
  323.  
  324.           The Alt-Keypad is a normal feature of the IBM PC's keyboard.  If
  325.           you hold the Alt key down and then enter a number using only the
  326.           numeric keypad on the right hand side of the keyboard, the
  327.           keyboard will send the ASCII character corresponding to that
  328.           number.  In Hex Input mode, NU-EPSON converts all your keystrokes
  329.           into the hexadecimal value for the character you pressed, in-
  330.           cluding characters entered from the Alt-Keypad.
  331.  
  332.           So, to put the number 50 in NU-EPSON's Hex Input line, hold the
  333.           Alt key down and press the 5 and 0 on the numeric keypad.  when
  334.           you release the Alt key you'll see a 32 in the hex string.  That
  335.           is the number 50 in hexadecimal.  As another example, to put the
  336.           number 127 into a hex input command, hold the Alt key down and
  337.           type 127 on the numeric keypad, release the Alt key.  This
  338.           generates a 7F in the entry line.  7F is 127 in hexadecimal
  339.           numbers.
  340.  
  341.           Note that when the Caps Lock key is turned on, your computer will
  342.           invert the case of the letters of the alphabet, changing "A"'s to
  343.           "a"'s and vice versa.  This means then, that if Caps Lock is set
  344.           and you enter the number 100 from the Alt-Keypad, which corres-
  345.           ponds to the letter "d", with Caps Lock on, your computer will
  346.  
  347.                                       NU-EPSON
  348.                                        Page 5
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.           intervene and convert that lowercase "d" to a capital "D".  Now,
  356.           the "D" character is ASCII character number 68, not 100 as you
  357.           intended.  Since NU-EPSON converts keboard input into hexadecimal,
  358.           you'll get the hex number 44 instead of hex 64.  The upshot of
  359.           all this is that if you start getting numbers that aren't right,
  360.           check the Caps Lock key.
  361.  
  362.           The numbers from 65 to 90 correspond to uppercase letters.  They
  363.           should all start with 4's or 5's in hexadecimal.
  364.  
  365.           The numbers from 97 to 122 correspond to lowercase letters.
  366.           They should all start with 6's or 7's in hexadecimal.
  367.  
  368.           Note that if you forget to hold the Alt key down when you type
  369.           on the keypad it will generate 00's.  This is useful for when
  370.           you need to send a CHR$(0).  Also, ProKey users should remember
  371.           that ProKey wants you to press Shift-Alt while using the numeric
  372.           keypad, otherwise you'll only get 00's, too.
  373.  
  374.  
  375.           AN EXAMPLE OF HEX INPUT
  376.  
  377.           Hex Input Mode is a very simple way to send your custom codes.
  378.           You'll get the hang of it quickly.  for practice, try sending "Hi
  379.           there" to your printer by just using the Hex Input Mode.  Call up
  380.           the Hex Input Mode and type "Hi there" right from the keyboard. 
  381.           You should see: 48 69 20 74 68 65 72 65.  Those are the hexa-
  382.           decimal values for those letters.  Before sending it do one more
  383.           thing.  Enter the number 10 from the Alt-Keypad.  Hold the Alt key
  384.           down and press 1 and 0.  This generates a 0A, the line feed
  385.           character. We need the line feed to flush the printer buffer and
  386.           print our message right away.  Your Hex Input Line should look
  387.           like this now: 48 69 20 74 68 65 72 65 0A.
  388.  
  389.           Now, let's submit it.  Press the carriage return and get back to
  390.           the regular entry line.  Then press carriage return again to exit
  391.           NU-EPSON and submit the hex string.  Your printer will print
  392.           "Hi there".  Sending hex command strings to your printer is the
  393.           very same thing.  But instead of being sequences of characters
  394.           that spell something meaningful to you, they say something
  395.           meaningful to your printer.
  396.  
  397.  
  398.           AN EXAMPLE USING MANY FEATURES
  399.  
  400.           When you use Tiny Type to print programs source code, or long
  401.           lists, you'll find that margins of 26 and 106, with skip over
  402.           perforation set for 12 lines make nicely formatted listings.
  403.           You can set it as follows.
  404.  
  405.  
  406.  
  407.  
  408.                                       NU-EPSON
  409.                                        Page 6
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.           Start by re-establishing the top of form three lines down from
  417.           the perforation, about 1/2-inch down.  Simply tap "L" three
  418.           times, until the paper is positioned correctly, then press "R"
  419.           to send a Master Reset to the printer.  That is now the new top
  420.           of form.  You'll see why we did this when we set our skip over
  421.           perforation "clear zone," below.
  422.  
  423.           Next, press "T" to invoke Tiny Type.
  424.  
  425.           Press "H" for Hex Input Mode.  In Hex Input Mode press Escape, l
  426.           (lower case "L"), and use the Alt-Keypad to send the hexadecimal
  427.           number for 26.  This will set the left margin at 26 spaces.
  428.  
  429.           Next press Escape, Q (capital "Q"), and use the Alt-Keypad to send
  430.           106.  This establishes the left margin at 106 spaces.
  431.  
  432.           Finally, press Escape, N (capital "N"), and use the Alt-Keypad to
  433.           send the Number 12.  This sets the skip over perforation zone to
  434.           twelve lines.  We want to reserve 1/2-inch above and below the
  435.           perforations.  One-half inch is equal to six tiny lines, since
  436.           we're setting the printer to Tiny Type.  That's why we set the
  437.           top of form 1/2-inch below the perforation.  Now, subsequent
  438.           perforations will fall right in the middle of our 12 line perfor-
  439.           ation zone, giving us 1/2-inch top and bottom margins.
  440.  
  441.           Your Hex Input entry line should say: 1B 6C 1A 1B 51 6A 1B 4E 0C.
  442.  
  443.           Press carriage return and you'll come back to the regular entry
  444.           line.  It should look like this: "TH".  "T" for Tiny Type, and "H"
  445.           for your Hex Input string.  Press the carriage return to send your
  446.           new configuration to the printer, and that's it.  That's all there
  447.           is to it.  In practice it's very simple.
  448.  
  449.           Now print a listing from your word processor, or from DOS.  It
  450.           will be centered in the pages with a half inch margin at the top
  451.           and bottom of each page.
  452.  
  453.  
  454.                      ---- END OF NU-EPSON'S HEX INPUT MODE ----
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.                                       NU-EPSON
  470.                                        Page 7
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.           SOME USEFUL COMMAND STRINGS
  478.  
  479.           These are some of the control codes you'll probably use the
  480.           most.
  481.  
  482.                     Set Elite Mode On
  483.                     <Esc>M    That's Escape, then uppercase "M".
  484.  
  485.                     Set Elite Mode Off
  486.                     <Esc>P    That's Escape, then uppercase "P".
  487.  
  488.                     Set left margin at #
  489.                     <Esc>l#   That's Escape, then lower case "l", then
  490.                               use the Alt-Keypad to enter the number for
  491.                               your left margin.
  492.  
  493.                     Set right margin at #
  494.                     <Esc>Q#   Press Escape, then capital "Q", then the
  495.                               number for your right margins.
  496.  
  497.                     Skip over perforation, variable
  498.                     <Esc>N#   Press Escape, then capital "N", then the
  499.                               number of lines for your "perforation zone".
  500.  
  501.                     Set the form length in lines
  502.                     <Esc>C#   Press Escape, then capital "C", then use the
  503.                               Alt-Keypad to enter the number of lines for
  504.                               your new page definition.
  505.  
  506.                     Set the form length in inches
  507.                     <Esc>C(00)#   Press Escape, capital "C", hex 00 (get
  508.                               this by pressing any of the numeric keypad
  509.                               keys without pressing the Alt key), then use
  510.                               the Alt-Keypad and send the length of your new
  511.                               page in inches.
  512.  
  513.                     Turn underline on
  514.                     <Esc>-1   Press Escape, the minus sign, then press the
  515.                               number 1.  Use the numbers at the top of the
  516.                               keyboard for this.
  517.  
  518.                     Turn underline off
  519.                     <Esc>-0   Press Escape, then minus sign, then type the
  520.                               number 0.  Again, use the numbers at the top
  521.                               of the keyboard for this.
  522.  
  523.                     Sound the printer bell
  524.                     7         Use the Alt-Keypad and press 7.  The printer
  525.                               bell will ring once.
  526.  
  527.  
  528.  
  529.  
  530.                                       NU-EPSON
  531.                                        Page 8
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.                                   A Word About ShareWare
  539.  
  540.  
  541.                     Shareware is based on the concept that good
  542.                     software shouldn't cost an arm and a leg.  Share-
  543.                     Ware gives you a chance to use your software before
  544.                     paying for it.  Also, you are actually encouraged
  545.                     to copy ShareWare programs and share them with your
  546.                     friends.  Once you know you like a program, then
  547.                     send a check or money order for the price of the
  548.                     utility.  Prices are usually very modest.
  549.  
  550.  
  551.                     NU-EPSON is a ShareWare program.  Please make as
  552.                     many copies as you like and share it with others.
  553.                     I only ask that you don't alter NU-EPSON or this
  554.                     documentation, and that you include this documen-
  555.                     tation when passing it around.  You can support
  556.                     ShareWare development, and share back by sending
  557.                     your $25.00 donation to:
  558.  
  559.  
  560.                                 Charles Rich
  561.                                 P.O. Box 95650
  562.                                 Seattle, WA  98145-2650
  563.  
  564.  
  565.                               Thanks! and enjoy NU-EPSON
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                       NU-EPSON
  592.                                        Page 9
  593.  
  594.